// 订单接口管理
import request from "@/utils/request";
import type { OrderPageRequest, OrderPageResponse } from "./types";

enum API {
  ORDER_PAGE = "/wx/order/page",
}

export const orderPage = (data: OrderPageRequest) =>
  request.post<any, OrderPageResponse>(API.ORDER_PAGE, data);
